package kliment.events
{
	import flash.events.Event;

	public class AMFConnectEvent extends Event
	{
		static public const RESPONSE:String = "response";

		static public const NET_STATUS:String = "netStatus";

		private var _handledEvent:Event;

		public function get handledEvent():Event
		{
			return _handledEvent;
		}

		public function AMFConnectEvent(type:String, handledEvent:Event)
		{
			super(type);

			_handledEvent = handledEvent;
		}

		override public function clone():Event
		{
			return new AMFConnectEvent(type, handledEvent);
		}

		public override function toString():String {
			return formatToString("AMFConnectEvent", "type", "handledEvent", "bubbles", "cancelable", "eventPhase");
		}
	}
}